﻿using System; 
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;

namespace Server_NhaSach.WCF_Interface
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IServiec_QLNhaSach" in both code and config file together.
    [ServiceContract]
    public interface IMatHang
    {
        [OperationContract]
        bool InsertMatHang(string mamh, string maloai, string tenmh, double dgn, double dgs, double dgl, float km, string nhasx, string tg, string namsx, string dausach, string dvt, int slDauKy, int slHienCo, byte[] hinh);
        [OperationContract]
        bool UpdateMatHang(string mamh, string maloai, string tenmh, double dgn, double dgs, double dgl,float km, string nhasx, string tg, string namsx, string dausach, string dvt, int slDauKy, int slHienCo, byte[] hinh);
        [OperationContract]
        bool DeleteMatHang(string MaMH);
        [OperationContract]
        string LayDS_MatHang();
    }
}
